/*
 * @Description:
 * @Author: dh
 * @Date: 2022-01-21 13:41:19
 * @LastEditors: dh
 * @LastEditTime: 2022-12-02 09:15:47
 */
import { App } from 'vue';
import { Button, List, Cell, Tabbar, TabbarItem, Icon, NavBar, Field, ActionSheet, Uploader } from 'vant';

const plugins = [Button, List, Cell, Tabbar, TabbarItem, Icon, NavBar, Field, ActionSheet, Uploader];

export default {
	install(app: App) {
		plugins.forEach(item => {
			app.component(item.name, item);
		});
	},
};
